package demo06;

public class PersonDemo {
    public static void main(String[] args) {
        Person p = new Person();//默认值:name=null,age=0
        //System.out.println(p);


        //设置成员变量的name和age
        p.setName("三丰");
        p.setAge(100);


        //获取成员变量的name和age
        System.out.println(p.getName()+" "+p.getAge());
    }

}
